.custom-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  
  &:active {
    background-color: #f3f4f6;
  }
  
  &.active {
    .tab-text {
      color: #4f46e5;
    }
    
    .tab-bar-icon {
      color: #4f46e5;
    }
  }
}

.tab-text {
  font-size: 12px;
  color: #666666;
  margin-top: 4px;
  transition: color 0.3s ease;
}

.tab-bar-icon {
  color: #666666;
  transition: color 0.3s ease;
}

// 为底部内容添加安全距离
.page-content {
  padding-bottom: 100px;
}
